﻿using Platformer_Example.Controller.Data;
using Transformable_Engine_v2.Engine.Network.Interfaces;

namespace Platformer_Example.Controller.Network.Messages
{
    public class PlayerData
    {
        public string Id { get; set; }
        public string Name { get; set; }
    }
    public class LoadGame : INetworkSerializable
    {
        public const int ID = 6;
        public int Id
        {
            get { return ID; }
            set { } //Not used. Leave there to make deserialization possible
        }

        public string MapName { get; set; }
        public Team[] Teams { get; set; }
        public PlayerData[] Players { get; set; }

    }
}